/*
 * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.inspur.edp.jit.api.compile;

import java.util.List;
import java.util.Map;

public class CompileContext {
    /**
     * 功能包ID
     */
    private String functionId;
    /**
     * 功能包类型
     */
    private String functionType;
    /**
     * 源代码列表
     */
    private List<JavaSourceCode> sourceCodes;
    /**
     * 依赖的Jar包，相对jstack目录
     */
    private List<String> referBoots;
    /**
     * 依赖的jar包，相对bootstrap.jar文件
     */
    private List<String> refers;
    /**
     * 该功能包的版本号
     */
    private String version;
    /**
     * 该功能包的描述
     */
    private String description;
    /**
     * 扩展属性
     */
    private Map<String, String> extendProperties;

    public String getFunctionId() {
        return functionId;
    }

    public void setFunctionId(String functionId) {
        this.functionId = functionId;
    }

    public String getFunctionType() {
        return functionType;
    }

    public void setFunctionType(String functionType) {
        this.functionType = functionType;
    }

    public List<JavaSourceCode> getSourceCodes() {
        return sourceCodes;
    }

    public void setSourceCodes(List<JavaSourceCode> sourceCodes) {
        this.sourceCodes = sourceCodes;
    }

    public List<String> getReferBoots() {
        return referBoots;
    }

    public void setReferBoots(List<String> referBoots) {
        this.referBoots = referBoots;
    }

    public List<String> getRefers() {
        return refers;
    }

    public void setRefers(List<String> refers) {
        this.refers = refers;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Map<String, String> getExtendProperties() {
        return extendProperties;
    }

    public void setExtendProperties(Map<String, String> extendProperties) {
        this.extendProperties = extendProperties;
    }
}
